import { $get, $post } from "../utils/request"

export const createPostService = (url: string) => {
  return (params: any = {}, extraConfig: any = {}) => $post(url, params, extraConfig);
}

export const createGetService = (url: string) => {
  return (params: any = {}, extraConfig: any = {}) => $get(url, params, extraConfig);
}